package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 充值码定义对象 t_recharge
 *
 * @author Miles Meng
 * @date 2025-08-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_recharge")
public class TRecharge extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 充值码名称
     */
    private String name;

    /**
     * 批次
     */
    private String batch;

    /**
     * 充值码个数
     */
    private Long quantity;

    /**
     * 充值码点数
     */
    private Long points;

    /**
     * 充值码前缀
     */
    private String prefix;

    /**
     * 描述
     */
    private String rechargeDesc;

    /**
     * 
     */
    private Long length;

    /**
     * 
     */
    private String validityPeriod;

    /**
     * 
     */
    private Date validityStartDate;

    /**
     * 
     */
    private Date validityEndDate;

    /**
     * 操作人
     */
    private Long adminUserId;


}
